
<form action="/collaboration/process.jsp" method="post">
	<% if (!hidden) {%>
	<label for="title">Title</label><br /> 
	<% } %>
	<input type="<%=(hidden)?"hidden" : "text" %>"
		class="inputText" name="title"
		placeholder="The title of your collaboration" <%if (c != null) {%>
		value="<%=c.getTitle()%>" <%}%> required />
	<% if (!hidden) {%>
	<br /> 
	<label for="description">Description</label><br />
	<% } %>
	<textarea name="description" style="display:<%=(hidden)?"none" : "show" %>"
		placeholder="A description of the purpose of your collaboration"
		required><%	if (c != null) { %><%=c.getDescription()%><% } %></textarea>
	<% if (!hidden) {%>
	<br />
	<label for="creator_name">Author</label> <br />
	<% } %>
	<input type="<%=(hidden)?"hidden" : "text" %>" class="inputText" name="creator_name" placeholder="Your name"
		<%if (c != null) {%> value="<%=c.getCreator_name()%>" <%}%> required />
	<% if (!hidden) {%>
	<br />
	<label>Email</label><br />
	<% } %>
	<input type="<%=(hidden)?"hidden" : "email" %>"	class="inputText" name="email" placeholder="me@domain.com"
		<%if (c != null) {%> value="<%=c.getEmail()%>" <%}%> required />
	<% if (!hidden) {%>
	<br />
	<% } %>
	<% if (show_checkbox) {%>
	<label for="public_library">Show Library to public Users</label>
	<% } %>
	<input type="checkbox" style="display:<%=(!show_checkbox)?"none" : "show" %>" name="public_library" <%=(c == null || (c!=null &&c.getPublic_library()))?"checked=\"checked\"" : "" %> />
	<% if (!hidden) {%>
	<br /> 
	<% } %>
	<input type="submit" class="saveButton" value="Save" />
	<% if (!hidden) {%>
	<br /> 
	<% } %>
</form>
